package com.stu.manager.studentscoremanagersys.service;

import com.stu.manager.studentscoremanagersys.pojo.Score;
import com.stu.manager.studentscoremanagersys.req.ComonListRequest;
import com.stu.manager.studentscoremanagersys.req.ReqScoreAdd;
import com.stu.manager.studentscoremanagersys.req.ReqScoreUpdate;
import com.stu.manager.studentscoremanagersys.res.Result;

import java.util.List;

public interface ScoreService {
    public void add(ReqScoreAdd scoreAdd);

    Result<List<Score>> selectPage(ComonListRequest commonlist);

    Result<String> deleteById(Long id);

    Result<Score> selectById(Long id);

    Result<String> updateById(ReqScoreUpdate update);
}
